<?php

/**
 * @author    1054229380@qq.com
 * @since    2017-7-3    Version 1.0
 */
error_reporting(E_ALL & ~E_NOTICE); //过滤错误提示
define('CACHE_FOL', APP_ROOT . '/cache/');
define('IN_MYSITE', TRUE);

define('TPLREFRESH', 1); //自动检测模版刷新,0,否,1是
$app_url = "http://" . $_SERVER['SERVER_NAME'];
$app_url = ($_SERVER['SERVER_PORT'] == "80") ? $app_url : $app_url . ":" . $_SERVER['SERVER_PORT'];

$timestamp = time();
define('_SURL', $app_url . APP_USERDIR); //站点路径
define('_ADMINURL', "/sysad"); //后台目录,不能为空
define('_RURL', APP_USERDIR . "/index.php"); //伪静态文件,支持isapi rewrite,保留为空，否则填/index.php
define('_CURRTIME', $timestamp); //当前系统时间
define('_IMGURL', $app_url . APP_USERDIR); //图片路径

$DbConfig = array(
    "dbType" => "mysql",
    "dbHost" => "39.108.223.13",
    "dbUser" => "lfplazza_cn",
    "dbPassWord" => "E7BJcewkNK",
    "dbName" => "lfplazza_cn"
);

//$DbConfig = array(
//    "dbType" => "mysql",
//    "dbHost" => "localhost",
//    "dbUser" => "teamispower_com",
//    "dbPassWord" => "stCsMbZ2XZ",
//    "dbName" => "teamispower_com"
//);

$siteconfig['s_title'] = "小象科技";   // 网站名称
$siteconfig['s_keywords'] = "小象科技";   // 关键词
$siteconfig['s_description'] = "小象科技";     // 网站描述
?>